package com.ruoyi.project.im.wechatlist.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 公众号管理对象 wechatlist
 * 
 * @author ruoyi
 * @date 2022-09-11
 */
public class Wechatlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 公众号名称 */
    @Excel(name = "公众号名称")
    private String wename;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 原始id */
    @Excel(name = "原始id")
    private String originId;

    /** appid */
    @Excel(name = "appid")
    private String appId;

    /** app密钥 */
    @Excel(name = "app密钥")
    private String appSecret;

    /** 模板id */
    @Excel(name = "模板id")
    private String templateId;

    /** 域名1 */
    @Excel(name = "域名1")
    private String urlone;

    /** 域名2 */
    @Excel(name = "域名2")
    private String urltwo;

    /** code */
    @Excel(name = "code")
    private String code;

    /** token */
    @Excel(name = "token")
    private String token;

    /**  */
    @Excel(name = "")
    private String encodingaesey;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    /** 状态:nouse=待使用,inuse=正在使用,unuse=已封禁,byuse=备用,fguse=待返工 */
    @Excel(name = "状态:nouse=待使用,inuse=正在使用,unuse=已封禁,byuse=备用,fguse=待返工")
    private String status;

    /**  */
    @Excel(name = "")
    private Long edittime;

    /** 商户编码 */
    @Excel(name = "商户编码")
    private String mcCode;

    /**  */
    @Excel(name = "")
    private Integer type;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWename(String wename)
    {
        this.wename = wename;
    }

    public String getWename()
    {
        return wename;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setOriginId(String originId)
    {
        this.originId = originId;
    }

    public String getOriginId()
    {
        return originId;
    }
    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getAppId()
    {
        return appId;
    }
    public void setAppSecret(String appSecret)
    {
        this.appSecret = appSecret;
    }

    public String getAppSecret()
    {
        return appSecret;
    }
    public void setTemplateId(String templateId)
    {
        this.templateId = templateId;
    }

    public String getTemplateId()
    {
        return templateId;
    }
    public void setUrlone(String urlone)
    {
        this.urlone = urlone;
    }

    public String getUrlone()
    {
        return urlone;
    }
    public void setUrltwo(String urltwo)
    {
        this.urltwo = urltwo;
    }

    public String getUrltwo()
    {
        return urltwo;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setToken(String token)
    {
        this.token = token;
    }

    public String getToken()
    {
        return token;
    }
    public void setEncodingaesey(String encodingaesey)
    {
        this.encodingaesey = encodingaesey;
    }

    public String getEncodingaesey()
    {
        return encodingaesey;
    }
    public void setBeizhu(String beizhu)
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu()
    {
        return beizhu;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setEdittime(Long edittime)
    {
        this.edittime = edittime;
    }

    public Long getEdittime()
    {
        return edittime;
    }
    public void setMcCode(String mcCode)
    {
        this.mcCode = mcCode;
    }

    public String getMcCode()
    {
        return mcCode;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setStarttime(Date starttime)
    {
        this.starttime = starttime;
    }

    public Date getStarttime()
    {
        return starttime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wename", getWename())
            .append("email", getEmail())
            .append("originId", getOriginId())
            .append("appId", getAppId())
            .append("appSecret", getAppSecret())
            .append("templateId", getTemplateId())
            .append("urlone", getUrlone())
            .append("urltwo", getUrltwo())
            .append("code", getCode())
            .append("token", getToken())
            .append("encodingaesey", getEncodingaesey())
            .append("beizhu", getBeizhu())
            .append("status", getStatus())
            .append("edittime", getEdittime())
            .append("mcCode", getMcCode())
            .append("type", getType())
            .append("starttime", getStarttime())
            .toString();
    }
}
